<?php /* Smarty version Smarty-3.1.13, created on 2014-10-27 23:21:51
         compiled from "D:\PHPWeb\cms\templates\user_center\account\invite_friends.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16519544e60593dfcd5-12130468%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '40ec2f6f2a60eb3efb7b37bda76248e273fb2c5e' => 
    array (
      0 => 'D:\\PHPWeb\\cms\\templates\\user_center\\account\\invite_friends.tpl',
      1 => 1414423309,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16519544e60593dfcd5-12130468',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_544e605941c098_54305682',
  'variables' => 
  array (
    'userInviteList' => 0,
    'comitem' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_544e605941c098_54305682')) {function content_544e605941c098_54305682($_smarty_tpl) {?><h2 class="primary">Invite Frends</h2>
<div class="order_history">

	<div class="yqjilu">
		<table>
			<tr>
				<th class="fontBlue">DATE</th>
				<th class="fontBlue">NAME</th>
				<th class="fontBlue">STATE</th>
				<th class="fontBlue">REBATE</th>
			</tr>
			<?php  $_smarty_tpl->tpl_vars['comitem'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['comitem']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['userInviteList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['comitem']->key => $_smarty_tpl->tpl_vars['comitem']->value){
$_smarty_tpl->tpl_vars['comitem']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['comitem']->key;
?>
			<tr>
				<td><span class="fontRed"><?php echo $_smarty_tpl->tpl_vars['comitem']->value->create_time;?>
</span></td> 
				<td><span class="fontRed"><?php echo $_smarty_tpl->tpl_vars['comitem']->value->invite_user_mail;?>
</span></td>  
				<?php if ($_smarty_tpl->tpl_vars['comitem']->value->state=="1"){?>
				<td><span class="fontRed">已注册</span></td> <?php }?> <?php if ($_smarty_tpl->tpl_vars['comitem']->value->state=="0"){?>
				<td><span class="fontBlue">未注册</span></td> <?php }?> <?php if ($_smarty_tpl->tpl_vars['comitem']->value->rebate=="1"){?>
				<td><span class="fontRed">已返利</span></td> <?php }?> <?php if ($_smarty_tpl->tpl_vars['comitem']->value->rebate=="0"){?>
				<td><span class="fontBlue">未返利</span></td> <?php }?>
			</tr>
			<?php } ?>
		</table>
	</div>
</div><?php }} ?>